package com.fsj.miniapp.dao;

import com.fsj.miniapp.entity.FunctionConfig;
import com.stip.mybatis.generator.plugin.BaseExample;
import com.stip.mybatis.generator.plugin.GenericMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 可添加自定义查询语句，方便后续扩展
 **/
@Mapper
public interface FunctionConfigDao extends GenericMapper<FunctionConfig, BaseExample, Long> {

     List<FunctionConfig> findAllFuncsByUserId(@Param("userId") Long id);

    List<FunctionConfig> findFuncsByUserId(@Param("userId") Long id);
}